package com.atguigu.tingshu.album.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix="minio") //读取节点
@RefreshScope
@Data
public class MinioConstantProperties {
    //  服务器的地址
    private String endpointUrl;
    //  服务器的用户名
    private String accessKey;
    //  服务器的密码
    private String secreKey;
    //  服务桶名
    private String bucketName;
}